package services

import (
	"blog/internal/models"
	"github.com/gin-gonic/gin"
)

type IUserService interface {
	Login(ctx *gin.Context, username, password string) (string, error)
	Logout(ctx *gin.Context, userId uint64) error
	Info(ctx *gin.Context, uid uint64) (*models.Profile, error)
}
